
//
// action sheet
//
@interface UIActionSheet(Additions)<UIActionSheetDelegate>

//
// dismiss callback
//
typedef void (^UIActionSheetDismissCallback)(int buttonIndex);

//
// cancel callback
//
typedef void (^UIActionSheetCancelCallback)();

//
// show action sheet
//
+ (UIActionSheet*)actionSheetWithTitle:(NSString*)title destructiveTitle:(NSString*)destructiveTitle buttons:(NSArray*)buttons showInView:(id)view onDismiss:(UIActionSheetDismissCallback)onDismiss onCancel:(UIActionSheetCancelCallback)onCancel;

@end
